From: Rui Matos Date: Wed, 22 Jun 2016 19:10:07 +0000 (+0200) Subject: ScreenShield: fix setting each arrow's opacity on _animateArrows() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~835 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e02467eada79528686df1152faf87858d3e9b3b6;p=gnome-shell.git ScreenShield: fix setting each arrow's opacity on _animateArrows() https://bugzilla.gnome.org/show_bug.cgi?id=767954 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 18f512445..982d9ba1d 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -711,7 +711,7 @@ const ScreenShield = new Lang.Class({ let unitaryDelay = ARROW_ANIMATION_TIME / (arrows.length + 1); let maxOpacity = 255 * ARROW_ANIMATION_PEAK_OPACITY; for (let i = 0; i < arrows.length; i++) { - arrows.opacity = 0; + arrows[i].opacity = 0; Tweener.addTween(arrows[i], { opacity: 0, delay: unitaryDelay * (N_ARROWS - (i + 1)),